// const a = require("vue");

import Vue from 'vue'
import App from './App.vue'
import router from './router'
// console.log(Vue);
// console.log(a);


// 全局组件注册
import globalComponents from "./globalComponents";
Vue.use(globalComponents);

//全局插件注册
import plugins from './plugins';
Vue.use(plugins);

//全局过滤注册
import filters from './filters'
Vue.use(filters);

import api from './api/index';
Vue.use(api);

//返回的是配置项
// console.log(App);
// import "../public/css/base.css"
import "./less/base.less";

Vue.config.productionTip = false;

new Vue({
    router: router,
    render: h => h(App),
    // render: (createElement)=>{ return createElement(App) }
}).$mount('#app')
